﻿    <%@ Page Title="" Language="C#" MasterPageFile="~/admin.Master" AutoEventWireup="true"
    CodeBehind="Encript.aspx.cs" Inherits="WebTools.Encript" %>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div>
        <div id="breadcrumb">
            <a href="#" title="Go to Home" class="tip-bottom"><i class="icon-home"></i>Home</a>
            <a href="#" class="current">字符串加密</a></div>
        <table class="table">
            <tr>
                <td>
                    <h4 style="font-weight:bold">字符串</h4><asp:TextBox ID="txbInput" 
                        class="span11" runat="server" Height="150px"
                        TextMode="MultiLine"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td colspan="3">
                    <asp:Button ID="Button1" runat="server" Text="Des加密" OnClick="btnEncode_Click" class="btn btn-success" />
                    <asp:Button ID="Button2" runat="server" Text="Des解密" OnClick="btnDecode_Click" class="btn btn-success" />
                    <asp:Button ID="Button3" runat="server" Text="SHA加密" OnClick="btnSHA_Click" class="btn btn-success" />
                    <asp:Button ID="Button4" runat="server" Text="MD5" OnClick="btnMD5_Click" class="btn btn-success" />
                    <asp:Button ID="Button5" runat="server" Text="SHA 64" OnClick="simpleButton1_Click" class="btn btn-success" />
                    <asp:Button ID="Button6" runat="server" Text="清空" OnClick="btnEncodeClear_Click" class="btn btn-success" />
                </td>
            </tr>
            <tr>
                <td>
                    <h4 style="font-weight:bold">结果</h4>
                    <asp:TextBox ID="txbResult" runat="server" class="span11" Height="150px" TextMode="MultiLine"></asp:TextBox>
                </td>
            </tr>
        </table>
    </div>
   </asp:Content>